package com.honghe.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

//医生与病人关系表
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DoctorPatient implements Serializable {
    public static final Integer DONE = 1;
    public static final Integer NO_DONE = 2;
    public static final Integer PAT_DID_NOT_ARRIVE = 3;
    public static final Integer DOC_DID_NOT_ARRIVE = 4;
    private static final long serialVersionUID = 1L;
    private Long id;
    //医生id
    private Long doctorId;
    //病人id
    private Long patientId;
    //就诊时间
    private LocalDateTime visitTime;
    //病人名字(冗余字段)
    private String name;
    //病人电话(冗余字段)
    private String phone;
    //完成状态
    private Integer status;
    private Long orderId;
}
